const extension = Symbol("my extension symbol");
let o = {
  [extension]: 234,
};
console.log(o[extension]); // 234
console.log(JSON.stringify(o)); // {} , 符号不能被序列化为 json 字符串
